import request from "@/utils/request";





export function assignResourcesToRole(data) {
  return request({
    url: "/sinohis/pension/sys/role/assignResourcesToRole",
    method: 'post',
    data

  });

}
export function searchUserRoleByUname(params) {
  return request({
    url: "/sinohis/pension/sys/resource/searchResourcesOfRolesWithTree/"+params.roleCode+'/'+params.institutionNumber,
    method: 'get',
    params

  });

}
